package com.cspg.ssss.repository;

import com.cspg.ssss.domain.ApproveGroupStat;
import com.cspg.ssss.domain.ApproveUserSelectEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ApproveUserSelectEntityMapper {

    int insertApproveUserSelect(ApproveUserSelectEntity en);

    List<ApproveUserSelectEntity> selectApproveUserSelect(Map<String,Object> condition);

    void delApproveUserSelect(Map<String,Object> condition);

    List<ApproveUserSelectEntity> selectProblemApproveUsers(Map<String,Object> condition);

    List<ApproveUserSelectEntity> selectScoreApplyApproveUsers(Map<String,Object> condition);

    List<ApproveGroupStat> selectProblemApproveUsersByGroupUser(Map<String,Object> condition);

    List<ApproveGroupStat> selectScoreApplyApproveUsersByGroupUser(Map<String,Object> condition);

    void batchInsertApproveUser(Map<String,Object> condition);

    void batchDeleteApproveUser(Map<String,Object> condition);

    void batchInsertApproveUserForGrade(Map<String,Object> condition);

    void batchDeleteApproveUserForGrade(Map<String,Object> condition);
}